package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.CashierBill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CashierBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CashierBill record);

    CashierBill selectByPrimaryKey(Long id);

    List<CashierBill> selectAll();

    int updateByPrimaryKey(CashierBill record);

    Long selectByCarNumber(String cardNumber);

    void deleteByCardNumber(String cardNumber);

    Integer count();

    void deleteOnAccountByCardNumber(String cardNumber);
}